# $Id: PKGBUILD 65912 2012-02-22 13:36:26Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-regexp-shellish
pkgver=0.93
pkgrel=5
pkgdesc="Perl/CPAN Module Regexp::Shellish : Shelllike regular expressions"
arch=("any")
url="http://search.cpan.org/dist/Regexp-Shellish"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/R/RB/RBS/Regexp-Shellish-$pkgver.tar.gz")
md5sums=('a5f92bf82b3d5033518e6d2c1028ee37')

build() {
  cd $srcdir/Regexp-Shellish-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
